package 设计模式.建造者模式;

import javax.swing.*;

/**
 * @description:
 * @author: asd
 * @time: 2022/11/21 22:47
 */
public class Computer {
    private String cpu;
    private String ram;
    private int usbCount;
    private String keyboard;
    private String mouse;

    public Computer(String cpu, String keyboard) {
        this.cpu = cpu;
        this.keyboard = keyboard;
    }

    public void setKeyboard(String keyboard) {
        this.keyboard = keyboard;
    }

    public void setUsbCount(int usbCount) {
        this.usbCount = usbCount;
    }

    public void setMouse(String mouse) {
        this.mouse = mouse;
    }
}
